from datetime import datetime

def fill_create_update_fields(params: dict, current_user: str):
    now_str = datetime.now().strftime("%Y-%m-%d %H:%M:%S")
    params["createdBy"] = current_user
    params["createdAt"] = now_str
    params["updatedBy"] = current_user
    params["updatedAt"] = now_str
    return params

def fill_update_fields(params: dict, current_user: str):
    now_str = datetime.now().strftime("%Y-%m-%d %H:%M:%S")
    params["updatedBy"] = current_user
    params["updatedAt"] = now_str
    return params 